﻿using ms.userlable.read.Models;
using System;
using System.Linq;
using UsersLabelPrint.DAL;

namespace ms.userlable.read
{
    class Program
    {
        static void Main(string[] args)
        {
            using (BarDbContext dbContext = new BarDbContext())
            {
                Console.WriteLine(dbContext.DalPrinters.Count());
                Console.WriteLine(dbContext.DalPrinters.First().PrinterName);
            }

            using (userslabelprintContext uContext = new userslabelprintContext())
            {
                Console.WriteLine(uContext.People.Count());
                Console.WriteLine(uContext.People.First().UserName);
            }
            Console.WriteLine("Hello World!");
        }
    }
}
